#include "SingleList.h"

int main()
{
	SingleList* p_single_list_head = NULL;
	SingleList_Push_Front(&p_single_list_head , 1);
	SingleList_Print(p_single_list_head);

	SingleList_Push_Front(&p_single_list_head, 8);
	SingleList_Print(p_single_list_head);

	SingleList_Push_Front(&p_single_list_head, 3);
	SingleList_Print(p_single_list_head);

	SingleList_Push_Front(&p_single_list_head, 2);
	SingleList_Print(p_single_list_head);

	SingleList_Push_Front(&p_single_list_head, 1);
	SingleList_Print(p_single_list_head);




	SingleList* Find = SingleList_Find(p_single_list_head, 3);
	SingleList_Before_Insert(&p_single_list_head,Find,55);
	SingleList_Print(p_single_list_head);

	SingleList* Find1 = SingleList_Find(p_single_list_head, 2);
	SingleList_Erase(&p_single_list_head, Find1);
	SingleList_Print(p_single_list_head);




	SingleList* Find2 = SingleList_Find(p_single_list_head, 3);
	SingleList_After_Erase(Find2);
	SingleList_Print(p_single_list_head);

	SingleList_Destroy(&p_single_list_head);







	return 0;
}

































